package cn.wenhe9.yygh.order.mapper;

import cn.wenhe9.yygh.model.order.OrderCountQueryVo;
import cn.wenhe9.yygh.model.order.OrderCountVo;
import cn.wenhe9.yygh.model.order.OrderInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author DuJinliang
 * 2022/4/6
 */
@Mapper
public interface OrderMapper extends BaseMapper<OrderInfo> {

    /**
     * 查询预约统计数据的方法
     * @param orderCountQueryVo OrderCountQueryVo
     * @return List<OrderCountVo>
     */
    List<OrderCountVo> selectOrderCount(@Param("vo") OrderCountQueryVo orderCountQueryVo);
}
